﻿using System;
using System.Collections.Generic;
using System.Text;
using Ghasam.Business.Domain.Entity;

namespace Ghasam.Business.Services
{
    public interface IAccountingService
    {
        void AccountingSaveOrUpadate(int customerId, bool isFormal, float debit, float credit, string description, DateTime accountingDate, DateTime? createDate);
        IList<Accounting> FindAccounts(int? customerId, bool isFormal, DateTime? startDate, DateTime? endDate);
        IList<Accounting> FindAccountsBySorting(int? customerId, bool isFormal, DateTime? startDate, DateTime? endDate, string param, bool asc);
    }
}
